﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using G.WeiBo.WebAPI.Domain;
using G.Navigate;

namespace G.WeiBo.Command
{
    public class CommentCommand : BaseCommand
    {
        public override bool CanExecute(object parameter)
        {
            return true;
        }

        public override void Execute(object parameter)
        {
            Message message = parameter as Message;
            NavigationService.Navigate("/View/CommentsList.xaml", message);
        }
    }
}
